package com.kang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kang.Vo.NoticeVo;
import com.kang.bean.Notice;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface NoticeService extends IService<Notice> {
    List<NoticeVo> getNew();

    void addNotice(Notice notice, HttpServletRequest request);

    PageInfo<NoticeVo> getList(NoticeVo noticeVo, Pageable page);
}
